package com.codexsoft.entities;

import com.google.appengine.api.datastore.Key;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: lotos
 * Date: 09.08.11
 * Time: 14:52
 * To change this template use File | Settings | File Templates.
 */

@Entity
public class Speciality {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Key key;

    private int id;
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }

    private int facultyId;
    public int getFacultyId() {
        return facultyId;
    }
    public void setFacultyId(int id) {
        this.facultyId = id;
    }

    private String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    private int freeCompetition;
    public int getFreeCompetition() {
        return freeCompetition;
    }
    public void setFreeCompetition(int freeCompetition) {
        this.freeCompetition = freeCompetition;
    }

    private int paidCompetition;
    public int getPaidCompetition() {
        return paidCompetition;
    }
    public void setPaidCompetition(int paidCompetition) {
        this.paidCompetition = paidCompetition;
    }

    private List<String> exams;
    public List<String> getExams() {
        return exams;
    }
    public void setExams(List<String> exams) {
        this.exams = exams;
    }

    public Speciality() {}
}
